import {get} from "./request.js";

// 模拟登录获取token
export const loginApi = () => {
    return get('/admin/userLogin',null).then(res => {
         window.localStorage.setItem("token",res.token);
    })
}


// 模拟 获取登录二维码
export const getQrcode = () => {
    return get('/qrCode/get', null);
}


